package com.luca.common.utils;

/**
 * 用户工具类
 *
 * @author luca
 */
public class UserUtils {

    public static boolean isAdmin(Long userId) {
        return userId != null && 1L == userId;
    }

    public static boolean isAdmin(String userType) {
        return "01".equals(userType) || "00".equals(userType);
    }

}
